var vaild = true

window.onload = function() {
    $("#zan").click(function(){

	var url = document.location
	var args;
	var query;
	args = String(url).split('?');
	if (args[1]) args = args[1];

    var xmlhttp;
    xmlhttp=new XMLHttpRequest();
	xmlhttp.open("POST","/praise",true);
	xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
	xmlhttp.send(args);
 
    });
};